Skip to content

chore(deps): fix CI build for private modules#7

Merged
jadb merged 2 commits into
mainfrom
deps-fix-ci
Jun 17, 2026
Merged

chore(deps): fix CI build for private modules#7
jadb merged 2 commits into
mainfrom
deps-fix-ci

Conversation

@jadb

@jadb jadb commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

CI go-build has been failing on main (and therefore every PR) because the build cannot resolve private hop.top modules. Two independent causes, both fixed here.

Causes

  1. Machine-local replace directives committed in go.modhop.top/wsm, hop.top/rux, hop.top/stem pointed at /Users/... paths that don't exist on the runner. rux and stem were also dangling (not imported, not required).
  2. No private-module auth in ci.ymlhop-top/wsm and hop-top/uri are private repos; the go-build job had no token or GOPRIVATE, so the runner couldn't fetch them over HTTPS.

Changes

  • go.mod — bump hop.top/kit v0.4.0-alpha.7 → v0.4.0-alpha.9, which drops the private (and now-deprecated) hop.top/uri in favour of the public hop.top/cite v0.1.0. Remove the three local replace directives; wsm (the one genuinely imported) is repointed to its module pseudo-version. charm.land/fantasy redirect retained.
  • ci.yml — add a "configure private modules" step (git insteadOf with GITHUB_TOKEN) and GOPRIVATE: hop.top on the go steps, mirroring hop-top/aps (whose CI is green).

Verification (local)

  • go build ./..., go vet ./..., go test ./... all green — including tests/e2e.
  • kit alpha.7 → alpha.9 introduced no API drift: all three binaries (foo, foo-scrape, foo-youtube) smoke-tested — help groups, --version, and the --ext-info discovery contract all intact.

Why this first

The three CLI-parity PRs (#4, #5, #6) build clean locally but inherit this red pipeline. Landing this unblocks them; they'll be rebased onto green main and merged after.

bump kit v0.4.0-alpha.7 -> alpha.9 (drops private hop.top/uri,
adopts public hop.top/cite). drop machine-local replace directives
(rux/stem unused; wsm repointed to module version). add private-module
auth to ci.yml (GOPRIVATE + token insteadOf rewrite) mirroring aps.
Copilot AI review requested due to automatic review settings June 17, 2026 05:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

replace deprecated GH_RELEASE_PLEASE_PAT with create-github-app-token
(release-bot App); add workflow_dispatch; bump action v4 -> v5. clears
hop-top/.github preflight conformance.
@jadb jadb merged commit 4403203 into main Jun 17, 2026
3 checks passed
@jadb jadb deleted the deps-fix-ci branch June 17, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants